/**
 * @author 马贤波
 * 预注册功能WebService实现
 */
package cn.agiledata.bank.webService.register;

import java.util.Map;

import cn.agiledata.bank.account.service.IAccountService;
import cn.agiledata.bank.common.exception.BusinessException;
import cn.agiledata.bank.common.service.ICommonService;
import com.vnv.infrastructure.logic.IPBAppFactory;

public class RegisterService implements IRegisterService {
	private IAccountService accountService = (IAccountService)IPBAppFactory.getObj("accountService");

	public String userRegister(String from, String project, Map map) {
		String returnCode = "1";
		try {
			accountService.userRegister(from, project, map);
		} catch (BusinessException be) {
			returnCode = be.getReturnCode();
		}
		return returnCode;
	}

}
